<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="jobUserForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">岗位名称：</label>
                            <div class="col-sm-8">
                                <label class="control-label" th:text="${job.jobName}">岗位名称：</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                <em style="color: red;font-style: normal;">*</em>岗位基础金额：
                            </label>
                            <div class="col-sm-8">
                                <label class="control-label" th:text="${job.baseMoney}">岗位基础绩效：</label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">岗位描述：</label>
                            <div class="col-sm-8">
                                <div class="col-sm-8">
                                <textarea th:text="${job.remark}" placeholder=""
                                          class="form-control"></textarea>
                                </div>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                <em style="color: red;font-style: normal;">*</em>岗位授予说明：
                            </label>
                            <div class="col-sm-8 ">
                                <p style="color: red">授予用户当前岗位后，将会取消原先岗位。<br>
                                    如原先绩效考核没有结算也将会以此岗位结算，
                                    已经结算了的用户将不会受到此影响
                                </p>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">
                                <em style="color: red;font-style: normal;">*</em>
                                此次被任命人员：
                            </label>
                            <div class="col-sm-8">
                                <input id="id" name="id" title="" class="hidden" th:value="${job.id}">
                                <input id="userIds" name="userIds" title="" class="hidden">
                                <input id="updateId" name="updateId" title="" class="hidden">
                                <input id="userNames" class="form-control"
                                       type="text" onclick="openUser()"
                                       readonly="readonly" placeholder="被任命人">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script th:src="@{/appjs/sys/job/jobUser.js}">

</script>
</body>
</html>
